package com.demo.pojo;

import com.demo.validator.Validators;
import com.raa.annotation.Role;

@Role(name = "student", validators = {
		Validators.IsUser.class,
		Validators.IsStudent.class,
		Validators.UsernameAndPassword.class
})
public class Student extends User {

	protected String name;

	public Student (String userId, String password, String name) {
		super(userId, password);
		this.name = name;
	}

	public String getName ( ) {
		return name;
	}
}
